package cn.itcast.service.company;

import cn.itcast.domain.compony.Company;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CompanyService {
    List<Company> findAll();
    Company findById(String id);
    void save(Company company);
    void update(Company company);
    void deleteById(String id);

    //PageResult findByPage(int page, int size);

    PageInfo findByPage(int page, int size);
}
